require.config({
    baseUrl: "js",
    paths: {
        jquery: "jquery/jquery-1.11.1",
        projetDreamUtils: "projetdream/utils",
        projetDreamGeneral: "projetdream/general",
        projetDreamConnexion: "projetdream/connexion",
        projetDreamHeader: "projetdream/header",
        projetDreamAccueil: "projetdream/accueil",
        projetDreamFicheProduit: "projetdream/ficheProduit",
        projetDreamIntervention: "projetdream/intervention",
        projetDreamCommande: "projetdream/commande",
        projetDreamInterventions: "projetdream/interventions",
        jsrender: "jsviews/jsrender.min",
        jsviews: "jsviews/jsviews.min",
        jsobservable: "jsviews/jsobservable.min",
        foundation: "foundation/foundation.min",
        foundationAbide: "foundation/foundation.abide",
        foundationAccordion: "foundation/foundation.accordion",
        foundationAlert: "foundation/foundation.alert",
        foundationClearing: "foundation/foundation.clearing",
        foundationDropdown: "foundation/foundation.dropdown",
        foundationEqualizer: "foundation/foundation.equalizer",
        foundationInterchange: "foundation/foundation.interchange",
        foundationJoyride: "foundation/foundation.joyride",
        foundationMagellan: "foundation/foundation.magellan",
        foundationOffcanvas: "foundation/foundation.offcanvas",
        foundationOrbit: "foundation/foundation.orbit",
        foundationReveal: "foundation/foundation.slider",
        foundationTab: "foundation/foundation.tab",
        foundationTooltip: "foundation/foundation.tooltip",
        foundationTopbar: "foundation/foundation.topbar"
    },
    shim: {
        'projetDreamGeneral': {
            deps: ['jquery']
        },
        'projetDreamConnexion': {
            deps: ['projetDreamGeneral']
        },
        'projetDreamHeader':{
            deps: ['projetDreamGeneral']
        },
        'projetDreamAccueil':{
            deps: ['projetDreamGeneral']
        },
        'projetDreamFicheProduit':{
            deps: ['projetDreamGeneral']
        },
        'projetDreamIntervention':{
            deps: ['projetDreamGeneral', 'projetDreamConnexion']
        },
        'projetDreamCommande':{
            deps: ['projetDreamGeneral', 'projetDreamConnexion']
        },
        'projetDreamInterventions':{
            deps: ['projetDreamGeneral']
        },
        'jsrender': {
            deps: ['jquery']
        },
        'jsobservable':{
            deps: ['jsrender']
        },
        'jsviews':{
            deps: ['jsrender', 'jsobservable']
        },
        foundation: {
            deps: ['jquery']
        },
        'foundationAbide': {
            deps: ['foundation']
        },
        'foundationAccordion': {
            deps: ['foundation']
        },
        'foundationAlert': {
            deps: ['foundation']
        },
        'foundationClearing': {
            deps: ['foundation']
        },
        'foundationDropdown': {
            deps: ['foundation']
        },
        'foundationEqualizer': {
            deps: ['foundation']
        },
        'foundationInterchange': {
            deps: ['foundation']
        },
        'foundationJoyride': {
            deps: ['foundation']
        },
        'foundationMagellan': {
            deps: ['foundation']
        },
        'foundationOffcanvas': {
            deps: ['foundation']
        },
        'foundationOrbit': {
            deps: ['foundation']
        },
        'foundationReveal': {
            deps: ['foundation']
        },
        'foundationTab': {
            deps: ['foundation']
        },
        'foundationTooltip': {
            deps: ['foundation']
        },
        'foundationTopbar': {
            deps: ['foundation']
        }
    }
});